package com.shareach.domain;

import java.util.Date;

import org.springframework.data.mongodb.core.mapping.Document;

import com.shareach.domain.common.Entity;

/**
 * 城市地标
 * 
 * @author zuoshuaiok@gmail.com
 * 
 *         2013-1-28
 */
@Document(collection = "basePlace")
public class BasePlaceDomain extends Entity {
	// 城市编码
	private Integer cityId;
	// 名称
	private String name;
	// 经纬度
	private Double[] loc;

	// 更新时间或者创建时间
	private Date updateTime = new Date();;
	// 上架时间
	private Date deployTime;
	// 创建时间
	private Date creatTime;

	// 状态
	private Integer status;
	
	public Date getCreatTime() {
		return creatTime;
	}

	public void setCreatTime(Date creatTime) {
		this.creatTime = creatTime;
	}

	public Date getUpdateTime() {
		return updateTime;
	}

	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}

	public Date getDeployTime() {
		return deployTime;
	}

	public void setDeployTime(Date deployTime) {
		this.deployTime = deployTime;
	}

	public Integer getCityId() {
		return cityId;
	}

	public void setCityId(Integer cityId) {
		this.cityId = cityId;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Double[] getLoc() {
		return loc;
	}

	public void setLoc(Double[] loc) {
		this.loc = loc;
	}

	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

}
